﻿<%@ Page Language="C#" MasterPageFile ="~/Admin/MasterPage.master"  AutoEventWireup="true" CodeFile="SanPhamDetail.aspx.cs" Inherits="Admin_SanPhamDetail" %>


<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID ="Content1" ContentPlaceHolderID ="menuPlaceHolder" runat ="server" >
    <h5 >Menu</h5>
    <ul class="Actions">
        <li > <a href ="sanphamadd.aspx"  >Thêm mới sản phẩm</a></li>
        <li ><a href ="sanPhamList.aspx"  >Danh sách Sản phẩm</a></li>
    </ul>
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
   <div style="padding:12px 12px 12px 12px;">
   <div >
         <div class="title">
            Chi tiết Sản phẩm
        </div>                  
        <div>
           <table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc">
                <tr>
                    <td style="width:30%">Mã Sản Phẩm</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_MaSP" runat="server"></asp:Literal>
                    </td>
                </tr>            
                <tr>
                    <td style="width:30%">Tên Sản Phẩm</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_TenSP" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Loại</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_Loai" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Địa Điểm</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_DiaDiem" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Trạng Thái SP</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_TrangThaiSP" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Nhân Viên</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NhanVien" runat="server"></asp:Literal>
                    </td>
                </tr>    
                 <tr>
                    <td style="width:30%">Doanh Nghiệp</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_DoanhNghiep" runat="server"></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td style="width:30%">Giá Bán</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_GiaBan" runat="server"></asp:Literal>
                    </td>
                </tr>    
                <tr>
                    <td style="width:30%">Giá Trị Thực</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_GiaTriThuc" runat="server"></asp:Literal>
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%">DK Sử dụng</td>
                    <td style="width:70%">
                        <asp:TextBox ID="txt_DKSuDung" runat="server" TextMode ="MultiLine" ReadOnly ="true" ></asp:TextBox>
                    </td>
                </tr> 
                <tr>
                    <td style="width:30%">Mô Tả</td>
                    <td style="width:70%">
                        <asp:TextBox ID="txt_MoTa" runat="server" TextMode ="MultiLine" ReadOnly ="true" ></asp:TextBox>
                    </td>
                </tr>   
                <tr>
                    <td style="width:30%">Sl Bán</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_SLBan" runat="server"></asp:Literal>
                    </td>
                </tr> 
                <tr>
                    <td style="width:30%">SL Đã Bán</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_SLDaBan" runat="server"></asp:Literal>
                    </td>
                </tr> 
                <tr>
                    <td style="width:30%">Ngày Bắt Đầu Bán</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayBDBan" runat="server"></asp:Literal>
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%">Ngày Kết Thúc Bán</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayKTBan" runat="server"></asp:Literal>
                    </td>
                </tr> 
                <tr>
                    <td style="width:30%">Ngày Cập Nhật</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayCapNhat" runat="server"></asp:Literal>
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%">Ngày Doanh Nghiệp Bán</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayDNBan" runat="server"></asp:Literal>
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%">Tỉ Lệ Hoa Hồng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_TLHoaHong" runat="server"></asp:Literal>
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%">Hình Ảnh</td>
                    <td style="width:70%">
                        <div style="padding-top:10px;">
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Tên Hình </th>
                        <th>Hình Ảnh</th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                    <asp:Literal ID="lit_Hinh" runat="server"></asp:Literal></td>
                <td>
                    <asp:Image ID ="img_HinhAnh" runat ="server" /></td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </div>
    
    <div style="width:100%;"> 
            <div style="float:left;">               
               <cc1:PagerV2_8 ID="PagerV2_8_1" runat="server"  OnCommand="pager_Command" ></cc1:PagerV2_8> 
            </div>
           
    </div> 
                    </td>
                </tr>                               
            </table>
        </div>
        
        
        
 </div>
 </div>
</asp:Content>